const plugins = ['lodash'];

if (process.env.NODE_ENV === 'prouction') {
  plugins.push('transform-remove-console')
}

module.exports = {
  sourceMap: false,
  plugins,
  presets: [
    ['taro', {
      framework: 'react',
      ts: false
    }]
  ]
}
